package club.monkeywood.enums.wechat;

public enum wxMediaEnum {

    MEDIA_IMAGE(1,"image"),  //图片素材
    MEDIA_VOICE(2,"voice"),  //语音素材
    MEDIA_VIDEO(3,"video"),  //视频素材
    MEDIA_THUMB(4,"thumb");  //缩略图素材

    private final int code;
    private final String type;

    wxMediaEnum(int code, String type) {
        this.code = code;
        this.type = type;
    }

    public String getType() {
        return type;
    }
}
